package org.lboot.idmo.custom.device;

import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.lboot.jpa.jpa.AbstractJpaCurd;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Slf4j
@Service
@AllArgsConstructor
public class FdDeviceServiceImpl extends AbstractJpaCurd<Long, FdDevice, FdDeviceDAO> implements FdDeviceService {
    @Override
    public List<FdDevice> getByUserId(Long userId) {
        return dao.findByUserId(userId);
    }
}
